package com.ssm.order.pojo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.*;
import java.io.Serializable;
import java.lang.Integer;
/****
 * @Author:shenkunlin
 * @Description:UserRole构建
 * @Date 2019/6/14 19:13
 *****/
@ApiModel(description = "UserRole",value = "UserRole")
@Table(name="user_role")
public class UserRole implements Serializable{

	@ApiModelProperty(value = "用户编号",required = false)
	@Id
    @Column(name = "UID")
	private Integer UID;//用户编号

	@ApiModelProperty(value = "角色编号",required = false)
    @Column(name = "RID")
	private Integer RID;//角色编号



	//get方法
	public Integer getUID() {
		return UID;
	}

	//set方法
	public void setUID(Integer UID) {
		this.UID = UID;
	}
	//get方法
	public Integer getRID() {
		return RID;
	}

	//set方法
	public void setRID(Integer RID) {
		this.RID = RID;
	}


}
